home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Graphics
/
StereoScope
/
Source
/
CubeView.h
< prev
next >
Wrap
Text File
|
1994-04-01
|
1KB
|
59 lines
/* Generated by Interface Builder */
/* TODO: create a buffer as an */
/* instance variable and remove the */
/* thisline stuff from readData*/
#import <appkit/View.h>
#import <appkit/Bitmap.h>
#import "AzimuthMat.h"
typedef enum {
NEITHER = 0,
LINES,
POINTS,
BOTH
} pts_or_lines;
typedef struct {
float **all;
float **displayed;
int npts;
pts_or_lines type;
float radius;
float shade;
} datapoints;
@interface CubeView:View
{
float cube[3][16], axes[3][54], *path;
int max_path;
float boundingBox[4];
AzimuthMat *vm;
datapoints **toshow;
id AngleDisplay;
id DistanceSlider;
id PhiSlider;
id ThetaSlider;
id openReq;
BOOL showCube, showAxes, PSonly;
char ops[3];
}
- initFrame:(const NXRect *) frameRect;
- showError:(char *)errorMessage;
- initialize;
- clear:sender;
- Reset:sender;
- setCube:(int)intValue;
- setAxes:(int)intValue;
- toggleAxes:sender;
- toggleCube:sender;
- reScale:sender;
- setTheta:(float)floatValue;
- setPhi:(float)floatValue;
- setdist:(float)floatValue;
- setlimits:(float *) limits;
- getStruct:(datapoints ***)dptr:(int) max_p:(float **)p;
- drawSelf:(NXRect*)r:(int)c;
- printPSCode:sender;
@end